﻿using Domain.Entity;
using Domain.Entity.tr;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Application.Allot_dService
{
    public interface IAllot_dService
    {
        //查所有
        Task<List<Allot_d>> GetAll();
        //分页查
        Task<List<Allot_d>> GetAid(int[] ids);
        //查所有
        Task<List<Allot_d>> GetAllot_d(int id);

        //更新出入库状态和数量
        Task<int> UpdateStatus(string nameok, int oknum, string nameno, int nonum, string name, int alid, int procid);
        //统计调拨
        Task<FenYe<AllotTJResult>> GetAllotTJResult(FenYe<AllotTJResult> fenYe, string? proc_code, string? al_code, string? al_type, string? header_create_by, int? type_id, string? proc_primary_unit, string? al_user, int? out_wh_id, int? in_wh_id, int[] instock_status, int[] outstock_status, string? startTime, string? endTime, string? createstartTime, string? createendTime);
    }
}
